<?
include_once ($_SERVER['DOCUMENT_ROOT']."/inc/conn.inc.php");
include_once ($_SERVER['DOCUMENT_ROOT']."/inc/property.inc.php");
include_once ($_SERVER['DOCUMENT_ROOT']."/inc/header.inc.php");

?>
<script>
    $(function() {
        $("#_shadowPop").draggable();
    });
</script>

<body>
<?
include_once ($_SERVER['DOCUMENT_ROOT']."/inc/topMenu.inc.php");
?>

<div id="_body" onmouseover="fnHideSubMenu()">
    <div id="_bodyLeft">
        <div id="_curMenu"><p><?=$__curTitle?></p></div>
        <div id="_curSubMenu">
        </div>
    </div>
    <div id="_bodyRight" style="height:720px;">
        <div id="search01">
            <div class="normal">
                <input type="text" id="findComapny" onkeypress="fnGetList()" tabindex="1" style="width:150px;">
            </div>
            <div class="searchBtn" onClick="fnGetList01(1)" onkeypress="fnGetList()" style="width:50px;" tabindex="2">조 회</div>
        </div>
        <div id="grid01" onmouseover="fnHideSubMenu()" class="grid" style="float:left">
            <div id="grid01Top" class="gridTop">
                <div id="grid01Title" class="gridTitle"></div>
                <div id="grid01Cnt" class="gridCnt"></div>
            </div>
            <div id="grid01Header" style="overflow: hidden; height: 20px;"></div>
            <div id="grid01Body" style="overflow: auto" onscroll="fnScrolling('grid01')"></div>
            <div id="grid01BodyFix" style="position: absolute;display:none;overflow:hidden;"></div>
        </div>
        <div id="companyForm">
            <div class="compFormGroup" style="height:283px;">
                <input type="hidden" id="compCd">
                <div style="margin-top:5px">
                    <div class="compTitle">회사명</div>
                    <div class="compInput"><input type="text" id="companyKR" style="width:200px;"> </div>
                </div>
                <div>
                    <div class="compTitle">대표자</div>
                    <div class="compInput"><input type="text" id="owner" style="width:100px;"> </div>
                </div>
                <div>
                    <div class="compTitle">연락처</div>
                    <div class="compInput"><input type="text" id="phone" style="width:150px;"> </div>
                </div>
                <div>
                    <div class="compTitle">FAX</div>
                    <div class="compInput"><input type="text" id="fax" style="width:150px;"> </div>
                </div>
                <div>
                    <div class="compTitle">주 소</div>
                    <div class="compInput"><input type="text" id="addrKR" style="width:235px;"> </div>
                </div>
                <div>
                    <div class="compTitle">사업자번호</div>
                    <div class="compInput"><input type="text" id="compNo" style="width:100px;"> </div>
                </div>
                <div>
                    <div class="compTitle">업태</div>
                    <div class="compInput"><input type="text" id="compType" style="width:150px;"> </div>
                </div>
                <div>
                    <div class="compTitle">종목</div>
                    <div class="compInput"><input type="text" id="compPart" style="width:150px;"> </div>
                </div>
                <div>
                    <div class="compTitle">E-Mail</div>
                    <div class="compInput"><input type="text" id="email" style="width:200px;"> </div>
                </div>
                <div>
                    <div class="compTitle">거래여부</div>
                    <div class="compInput">
                        <select id="flag" style="width:100px;">
                            <option value="Y">거래중</option>
                            <option value="N">거래정지</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="compFormGroup" style="height:115px;margin-top:10px;">
                <div style="margin-top:5px">
                    <div class="compTitle">영문 회사명</div>
                    <div class="compInput"><input type="text" id="companyEN" style="width:235px;"> </div>
                </div>
                <div>
                    <div class="compTitle">영문 주소</div>
                    <div class="compInput"><textarea id="addrEN" style="width:235px;height:60px;"></textarea> </div>
                </div>
            </div>
            <div class="compFormGroup" style="height:95px;margin-top:10px;">
                <div style="margin-top:5px">
                    <div class="compTitle">담당자</div>
                    <div class="compInput"><input type="text" id="major" style="width:100px;"> </div>
                </div>
                <div>
                    <div class="compTitle">휴대전화</div>
                    <div class="compInput"><input type="text" id="cellPhone" style="width:150px;"> </div>
                </div>
                <div>
                    <div class="compTitle">직통전화</div>
                    <div class="compInput"><input type="text" id="majorPhone" style="width:150px;"> </div>
                </div>
            </div>
            <div class="compFormGroup" style="height:105px;margin-top:10px;">
                <div style="margin-top:5px">
                    <div class="compTitle">메모</div>
                    <div class="compInput"><textarea id="memo" style="width:235px;height:80px;"></textarea> </div>
                </div>
            </div>
            <div class="compFormGroup" style="height:88px;margin-top:10px;">
                <div style="margin-top:5px">
                    <div class="compTitle">유류할증</div>
                    <div class="compInput"><input type="text" id="oilRate" style="width:55px;text-align:right;padding-right:2px;margin-right:3px;" value="0">% </div>
                </div>
                <div>
                    <div class="compTitle" style="width:75px;">EMS</div>
                    <div class="compTitle" style="width:75px;">DHL</div>
                    <div class="compTitle" style="width:75px;">UPS</div>
                    <div class="compTitle" style="width:75px;">TNT</div>
                </div>
                <div>
                    <div class="compInput" style="float:left;width:75px;margin-left:6px;margin-top:0;"><input type="text" id="emsRate" style="width:55px;margin-left:0;text-align:right;padding-right:2px;margin-right:3px;" value="0">%</div>
                    <div class="compInput" style="float:left;width:75px;margin-left:2px;margin-top:0;"><input type="text" id="dhlRate" style="width:55px;margin-left:0;text-align:right;padding-right:2px;margin-right:3px;" value="0">%</div>
                    <div class="compInput" style="float:left;width:75px;margin-left:2px;margin-top:0;"><input type="text" id="upsRate" style="width:55px;margin-left:0;text-align:right;padding-right:2px;margin-right:3px;" value="0">%</div>
                    <div class="compInput" style="float:left;width:75px;margin-left:2px;margin-top:0;"><input type="text" id="tntRate" style="width:55px;margin-left:0;text-align:right;padding-right:2px;margin-right:3px;" value="0">%</div>
                </div>
            </div>
            <div>
                <div class="searchBtn" onClick="fnSave()" style="width:50px;float:left;margin-left:130px;">저 장</div>
                <div class="searchBtn" onClick="fnReset()" style="width:50px;float:left;">신 규</div>
            </div>
        </div>
    </div>

</div>
<div id="_bottom">

</div>
</body>
</html>